package com.balloon.gateway.exception;

import org.springframework.security.core.AuthenticationException;

/**
 * token解析异常
 */
public class TokenParseErrorException extends AuthenticationException {
 
    private final String code;

    public TokenParseErrorException(String msg,String code) {
        super(msg);
        this.code = code;
    }
 
    public String getCode() {
        return this.code;
    }
}
 
 
